/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.business.fee.facade.command;

import info.peigen.hotpot.business.fee.facade.command.order.FeeOrder;
import info.peigen.hotpot.business.fee.facade.command.result.FeeResult;

/**
 * <b>(FeeServiceFacade)</b>
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2021/7/28
 */
public interface FeeServiceFacade {

    /**
     * 计算费用
     *
     * @param order FeeOrder
     *
     * @return FeeResult
     */
    FeeResult calculate(FeeOrder order);


    /**
     * 收费大一统接口
     *
     * @param order FeeOrder
     *
     * @return FeeResult
     */
    FeeResult fee(FeeOrder order);
}
